// admin 角色菜单
export const adminRoutes = [
  {
    id: '1001', parentId: '', path: '/example', name: '综合实例',
    children: [
      { id: '100101', parentId: '1001', path: 'table', name: '综合表格' },
      { id: '100102', parentId: '1001', path: 'table-add', name: '新增/编辑表格（hidden）' },
      { id: '100103', parentId: '1001', path: 'table-detail', name: '表格详情（hidden）' },
      { id: '100104', parentId: '1001', path: 'dynamic-table', name: '动态表格' }
    ]
  },
  {
    id: '1002', parentId: '', path: '/nested', name: '多级菜单',
    children: [
      {
        id: '100201', parentId: '1002', path: 'menu1', name: '综合表格',
        children: [
          { id: '10020101', parentId: '100201', path: 'menu1-1', name: '三级菜单1-1' },
          { id: '10020102', parentId: '100201', path: 'menu1-2', name: '三级菜单1-2' }
        ]
      },
      { id: '100202', parentId: '1002', path: 'menu2', name: '二级菜单2' }
    ]
  },
  {
    id: '1003', parentId: '', path: '/components', name: '组件',
    children: [
      { id: '100301', parentId: '1003', path: 'tinymce', name: '富文本编辑器' },
      { id: '100302', parentId: '1003', path: 'calendar', name: '日历' },
      { id: '100303', parentId: '1004', path: 'mixin', name: '小组件' }
    ]
  },
  {
    id: '1004', parentId: '', path: '/permission', name: '系统管理',
    children: [
      { id: '100401', parentId: '1004', path: 'role', name: '角色管理' },
      { id: '100402', parentId: '1004', path: 'user', name: '用户管理' }
    ]
  },
  { id: '1005', parentId: '', path: '/education', name: '帮助' },
  { id: '1006', parentId: '', path: 'https://www.bilibili.com/', name: '哔哩哔哩' },
  { id: '1007', parentId: '', path: '/data-screen', name: '数据大屏' }
]

// edit 角色菜单
export const ordinaryRoutes = [
  {
    id: '1001', parentId: '', path: '/example', name: '综合实例',
    children: [
      { id: '100101', parentId: '1001', path: 'table', name: '综合表格' },
      { id: '100102', parentId: '1001', path: 'table-add', name: '新增/编辑表格' },
      { id: '100103', parentId: '1001', path: 'table-detail', name: '表格详情' },
      { id: '100104', parentId: '1001', path: 'dynamic-table', name: '动态表格' }
    ]
  },
  {
    id: '1002', parentId: '', path: '/nested', name: '多级菜单',
    children: [
      {
        id: '100201', parentId: '1002', path: 'menu1', name: '综合表格',
        children: [
          { id: '10020101', parentId: '100201', path: 'menu1-1', name: '三级菜单1-1' },
          { id: '10020102', parentId: '100201', path: 'menu1-2', name: '三级菜单1-2' }
        ]
      },
      { id: '100202', parentId: '1002', path: 'menu2', name: '二级菜单2' }
    ]
  },
  {
    id: '1003', parentId: '', path: '/components', name: '组件',
    children: [
      { id: '100301', parentId: '1003', path: 'tinymce', name: '富文本编辑器' },
      { id: '100302', parentId: '1003', path: 'calendar', name: '日历' }
    ]
  },
  { id: '1005', parentId: '', path: '/education', name: '帮助' },
  { id: '1006', parentId: '', path: 'https://www.bilibili.com/', name: '哔哩哔哩' }
]
